package com.cleaningcloud.cld.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 工作计划对象 cld_workplan
 *
 * @author cleaningcloud
 * @date 2024-10-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldWorkplan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 工作计划ID
     */
    private Long workplanId;

    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private Long projectId;

    /**
     * 岗位id
     */
    @Excel(name = "岗位id")
    private Long postId;

    /**
     * 清洁性质(1日清洁2专项清洁)
     */
    @Excel(name = "清洁性质(1日清洁2专项清洁)")
    private Long cleanNature;

    /**
     * 工作开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date workStartDate;

    /**
     * 工作结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date workEndDate;


    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createId;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 备注是否关闭
     */
    @Excel(name = "备注是否关闭")
    private Long flag;

}
